-
-
Couldn't load subscription status.
- Fork 33.3k
Fix example code in curses tutorial #126446
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This fixes an error in the example code illustrating the usage of the `wrapper` method in the curses tutorial which causes it to run through all iterations of the loop and error out before displaying anything on screen or waiting for user input.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @picnixz
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job spotting this!
(cherry picked from commit 5fbe23e) Co-authored-by: Jiayu Yi <[email protected]>
|
GH-132362 is a backport of this pull request to the 3.13 branch. |
Co-authored-by: Jiayu Yi <[email protected]>
This fixes an error in the example code in the curses tutorial illustrating the usage of the
wrappermethod which causes it to run through all iterations of the loop and error out before displaying anything on screen or waiting for user input.📚 Documentation preview 📚: https://cpython-previews--126446.org.readthedocs.build/